#!/bin/sh
# 启动第一个服务，这里是 python 应用
python /home/backend/app.py &
# 启动第二个服务，假设是另一个 Python 脚本
/home/software/ParaView-5.12.1-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython /home/software/ParaView-5.12.1-osmesa-MPI-Linux-Python3.10-x86_64/share/paraview-5.12/web/visualizer/server/pvw-visualizer.py --port 1234 --host 0.0.0.0 --data /home/paraview/data --timeout 0 --content /home/software/ParaView-5.12.1-osmesa-MPI-Linux-Python3.10-x86_64/share/paraview-5.12/web/visualizer/www &
# 等待所有子进程结束，防止脚本立即退出
wait $!